home *** CD-ROM | disk | FTP | other *** search
- Path: news-2.csn.net!usenet
- From: Eric Fowler <EricF@microhouse.com>
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: What is required to get GNU flex 2.3 to work with MS Visual C++?
- Date: Fri, 22 Mar 1996 16:44:56 -0700
- Organization: Microhouse
- Message-ID: <31533B78.39C9@microhouse.com>
- NNTP-Posting-Host: 204.132.131.130
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
- CC: EricF@microhouse.com
-
- I am trying to get started with the GNUish FLEX. I would like to use the
- MSVC 1.52 compiler (because it's a habit, that's why!) and the MFCs(to
- simplify symbol table management through use of their list and table
- classes). When I try to #include and use the MFCs in the lexyy.c file,
- the compiler snivels about using a CPP extension. I give it a CPP
- extension, and the compiler hits a #include <osfcn.h> in the lexyy.cpp
- file, buried inside a #ifdef _cplusplus statement. This file is a part
- of the GPP compiler, but is not in MS compiler set. Now, I suppose in
- about thirty hours I could figure this out myself, but ... does anyone
- know what I have to do to get flex (or lex or even occs) to run on DOS
- or Windows with MSC++ and the MFCs? Actually, any freeware lexer is
- fine.
-